package com.ywjt.platformbusiness.market.commongoods.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import com.ywjt.platformbusiness.R;
import com.ywjt.platformbusiness.base.BaseActivity;
import com.ywjt.platformbusiness.market.commongoods.adapter.GoodsDetailCommentAdapter;

import java.util.ArrayList;
import java.util.List;


public class ActivityCommentDetail extends BaseActivity implements View.OnClickListener {
    private GoodsDetailCommentAdapter detailCommentAdapter;
    private RecyclerView rcCommon;
    private List<Integer> data;
    public static void actionStart(Context context) {
        Intent intent = new Intent(context, ActivityCommentDetail.class);
        context.startActivity(intent);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){

        }
    }


    @Override
    protected void init(Bundle savedInstanceState) {
        setAndroidNativeLightStatusBar(true);
    }

    @Override
    protected int setLayoutResourceID() {
        return R.layout.activity_common;
    }

    @Override
    protected void initView() {
        setTitleText("评论详情");
        data=new ArrayList<>();
        data.add(R.mipmap.icon_goodsdetail_banner);
        data.add(R.mipmap.icon_goodsdetail_banner);
        data.add(R.mipmap.icon_goodsdetail_banner);
        data.add(R.mipmap.icon_goodsdetail_banner);
        rcCommon=findViewById(R.id.rcCommon);
        //detailCommentAdapter=new GoodsDetailCommentAdapter(data);
        //rcCommon.setAdapter(detailCommentAdapter);
       // rcCommon.setLayoutManager(new LinearLayoutManager(this));
    }

    @Override
    protected void initData() {

    }

    @Override
    protected int getTitleBarType() {
        return 0;
    }


}
